function setcookies(name ,value ,n){
	var odate = new Date();
	odate.setDate(odate.getDate()+ n);
	document.cookie = name + "=" + value + ";expires=" + odate ; 
}
function getcookies(name){
	var str = document.cookie;
	var arr = str.split("; ");
	 for (var i = 0 ; i < arr.length ; i++)
	 {
	 	var newArr = arr[i].split("=");
	 	if(newArr[0] == name)
	 	{
	 		return newArr[1];
	 	}
	 }
}
   function removecookies(name){
	setcookies(name , 1, -1)
}
